<template>
  <a-layout-content>
    <a-descriptions title="弹窗" :column="1"> </a-descriptions>
    <a-button type="primary" @click="moalVisible = true">打开弹窗</a-button>

    <n-modal
    title="这是一个弹窗"
    :showCloseBtn="false"
    :visible="moalVisible"
    @cancel="moalVisible = false"
  >
    <div>我是弹窗</div>
  </n-modal>
  </a-layout-content>

 
</template>

<script setup>
import NModal from "@/components/NModal.vue";
import { ref } from "vue";

const moalVisible = ref(false); // 弹窗是否显示的状态变量，初始为 false，表示不显示弹窗。

const feature = ref();
</script>
